﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DBA.Model
{
    /// <summary>
    /// 登录后的身份载体
    /// </summary>
    public class OperatingUser
    {
        /// <summary>
        /// ID
        /// </summary>
        public int EmployeeID
        {
            get;
            set;
        }
        /// <summary>
        /// 工资号
        /// </summary>
        public string SalaryID
        {
            get;
            set;
        }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex
        {
            get;
            set;
        }
        /// <summary>
        /// 文化程度ID
        /// </summary>
        public int EaID
        {
            get;
            set;
        }
        /// <summary>
        /// 文化程度名称
        /// </summary>
        public string EduName
        {
            get;
            set;
        }
        /// <summary>
        /// 党政职务ID
        /// </summary>
        public int PD_id
        {
            get;
            set;
        }

        /// <summary>
        /// 党政职务名称
        /// </summary>
        public string PartyDutyName
        {
            get;
            set;
        }
        /// <summary>
        /// 技术职务资格ID
        /// </summary>
        public int jszwzgID
        {
            get;
            set;
        }

        /// <summary>
        /// 技术职务资格名
        /// </summary>
        public string JszwzgName
        {
            get;
            set;
        }

        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName
        {
            get;
            set;
        }
        /// <summary>
        /// 部门ID
        /// </summary>
        public int Dpt_id
        {
            get;
            set;
        }

        /// <summary>
        /// 部门名
        /// </summary>
        public string DptName
        {
            get;
            set;
        }

        /// <summary>
        /// 系ID
        /// </summary>
        public int Xi_ID
        {
            get;
            set;
        }

        /// <summary>
        /// 系名
        /// </summary>
        public string XiName
        {
            get;
            set;
        }

        /// <summary>
        /// 所ID
        /// </summary>
        public int Suo_ID
        {
            get;
            set;
        }

        /// <summary>
        /// 所名
        /// </summary>
        public string SuoName
        {
            get;
            set;
        }

    
        /// <summary>
        /// 管理员身份，1为超级管理员(学院管理员),2为系管理员
        /// </summary>
        public List<int> RoleID
        {
            get;
            set;
        }

        /// <summary>
        /// 角色名称
        /// </summary>
        public List<string> RoleName
        {
            get;
            set;
        }

        /// <summary>
        /// 用户的角色功能菜单
        /// </summary>
        public IList<Sys_SystemFunction> UserFuncList
        {
            get;
            set;
        }
    }
}
